// 游戏状态类型
export interface GameStat {
  label: string;
  value: string;
}

// 角色信息类型
export interface CharacterInfo {
  name: string;
  stats: GameStat[];
  level: number;
  experience: number;
}

// API响应类型
export interface ApiResponse<T = any> {
  success: boolean;
  data?: T;
  message?: string;
  error?: string;
}

// 用户类型
export interface User {
  id: string;
  username: string;
  email?: string;
  createdAt: string;
}

// 物品类型
export interface GameItem {
  id: string;
  name: string;
  type: string;
  description: string;
  quantity: number;
  effect?: string;
}

// 游戏动作类型
export type GameActionType = 'meditate' | 'explore' | 'alchemy' | 'challengeDemon';